package com.hy.erp.inventory.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Index;

import com.hy.erp.inventory.dao.interfaces.ILocationTypeDao;
import com.hy.erp.inventory.pojo.interfaces.ILocationType;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
/**
 * 
 * <ul>
 * <li>开发作者：李冰</li>
 * <li>设计日期：2010-10-5；时间：上午10:41:29</li>
 * <li>类型名称：Location</li>
 * <li>设计目的：位置类型</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
//@Name("locationType")
@Entity
@Table(name="t_locationType")
//@ DaoA ( ILocationTypeDao.class )
public class LocationType extends MyBaseModel //implements IPositonType
//public class LocationType extends AbstractPersistentEntity implements ILocationType
{

	/**
	 * <ul>
	 * <li>开发作者：李冰</li>
	 * <li>设计日期：2010-10-5；时间：下午01:57:24</li>
	 * <li>字段类型：long；字段名称：serialVersionUID</li>
	 * <li>设计目的：</li>
	 * </ul>
	 * <ul>
	 * <b>修订编号：</b>
	 * <li>修订日期：</li>
	 * <li>修订作者：</li>
	 * <li>修订原因：</li>
	 * <li>修订内容：</li>
	 * </ul>
	 */
	private static final long	serialVersionUID	=
														2379783858666551850L ;

	
	
	@ Column ( name = "name" , length = 50)
	@ Index ( name = "nameIndex" )
	public String getName ( )
	{
		return this.get(ILocationType.NAME) ;
	}
	public void setName (
							String name )
	{super.set (ILocationType.NAME , name );
	}
	@ Column ( name = "description" , length = 50)
	@ Index ( name = "descriptionIndex" )
	public String getDescription ( )
	{
		return this.get(ILocationType.DESCRIPTION) ;
	}
	public void setDescription (
									String description )
	{
		super.set (ILocationType.DESCRIPTION , description );
	}
	
	
	public LocationType ( )
	{
		super ( ) ;
	}
	public LocationType (
							
							String name ,
							byte [ ] description ,
							byte [ ] comment )
	{
		super ( ) ;
		
	}
	
	
	
	




}
